package com.navercorp.pinpoint.plugin.businessMethod;

import com.navercorp.pinpoint.bootstrap.config.ProfilerConfig;

/**
 * Created by Irany 2018/8/22 21:31
 */
public class GeneralConfigConfiguration {

    private final boolean enable;

    public GeneralConfigConfiguration(ProfilerConfig src) {
        enable = src.readBoolean("profiler.plugin.businessMethod.enable", true);
    }

    public boolean isEnable() {
        return enable;
    }

    @Override
    public String toString() {
        return "{Enable=" +
                enable +
                "}";
    }
}
